<ui:composition xmlns="http://www.w3.org/1999/xhtml"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:ui="http://java.sun.com/jsf/facelets">
    <h2>Sista minuten</h2>
    <table class="lastMinuteTable">
        <thead>
            <tr>
                <td class="partFrom">Avreseort</td>
                <td class="destination">Destination</td>
                <td class="date_time">Datum och tid</td>
                <td class="price">Pris</td>
            </tr>
        </thead>
        <tbody>
            <ui:repeat var="flight" value="#{LastMinuteBoxBean.flightList}">
                    <tr>
                        <td>#{flight.getFlightPK().getFromdestination()}</td>
                        <td>#{flight.getTodestination()}</td>
                        <td>#{flight.getStartdate()} #{flight.getStarttime()}</td>
                        <td>#{flight.getPrice().toString()}</td>
                    </tr>
                </ui:repeat>
        </tbody>
    </table>
</ui:composition>